package com.xjl.app.convert;

import com.xjl.app.EntityDTO.DeviceDTO;
import com.xjl.app.domain.EntityDO.DeviceDO;
import com.xjl.app.infra.entity.Devices;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface DeviceDTODOConvert {

    DeviceDTODOConvert INSTANCE = Mappers.getMapper(DeviceDTODOConvert.class);

    Devices toDevices(DeviceDTO deviceDTO);

    DeviceDO toDeviceDO(DeviceDTO deviceDTO);

    DeviceDTO toDeviceDTO(DeviceDO deviceDO);

    DeviceDTO toDeviceDTO(Devices devices);


}
